package com.hjx.service;

import com.hjx.entity.SysRole;
import com.hjx.entity.SysUser;

import java.util.List;

/**
 * <p>Title:</p>
 * <p>Description:</p>
 *
 * @author hjx
 * @date 2020/6/10 - 10:43
 */
public interface SysUserService {
    public SysUser findOne(String uno);
    public List<SysUser> findAll();
    public String findPassword(String uno);
    public boolean insert(SysUser sysUser);
    public boolean delete(String uno);
    public boolean update(SysUser sysUser);
    public List<SysUser> findBy(SysUser sysUser);
    public boolean updateMyself(SysUser sysUser);

    public SysUser findUserAndRole(String uno);
    public List<SysUser> findAllUserAndRole();
//    public List<SysRole> findNoGetRoleByUno(String uno);
}
